﻿using System;

public class MonsterSkillManager : SkillManagerBase
{
    protected override void OnInit()
    {
        // 从配置读取技能列表
        var skillIds = (entity as MonsterEntity).config.skills;
        if (skillIds == null) return;
        for (int i = 0; i < skillIds.Count; i++)
        {
            AddSkill(skillIds[i]);
        }
    }
}